package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weixing.mall.provider.model.domain.GoodsSpec;
import com.weixing.mall.provider.model.vo.GoodsSpecVo;

import java.util.List;

/**
 * <p>
 * 商品模块-商品规格关联表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface GoodsSpecMapper extends BaseMapper<GoodsSpec> {
    void deleteByGoodsId(Long goodsId);

    List<GoodsSpecVo> selectByGoodsId(Long goodsId);
}
